import service from '@/utils/request.js'

export const getEpidemic = (key) => {
  return service({
    methods: 'get',
    // https://api.iyk0.com/yq/?msg=北京
    url: `yq/?msg=${key}&type=json`
  })
}
